package com.dx.hsb.domain;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * id          bigint auto_increment comment '序号'
 * primary key,
 * longitude   float             not null comment '经度',
 * latitude    float             not null comment '纬度',
 * altitude    float             not null comment '海拔',
 * speed       double            null comment '速度',
 * update_time datetime          not null comment '数据上传时间',
 * human_id    mediumtext        not null comment '追踪人员ID',
 * device_id   mediumtext        not null comment '采集设备id',
 * device_mark varchar(50)       null comment '采集设备备注',
 * area_id     int               not null comment '区域id',
 * id_deleted  tinyint default 0 not null comment '删除标志位'
 */
@Data
public class RealTimeLocation {
    private Long id;
    private Double longitude;
    private Double latitude;
    private Double altitude;
    private Double speed;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    private String humanId;
    private String deviceId;
    private String deviceMark;
    private Integer areaId;
    private Byte idDeleted;
}